package sfeir.gwt.ergosoom.client.model;

import java.io.Serializable;

public class Email implements Serializable {

    private static final long serialVersionUID = -8428257281974113596L;
    public static final int PERSONAL_EMAIL = 0x01;
    public static final int PROFESSIONNAL_EMAIL = 0x02;
    public static final int UNKNOWN = 0xFF;

    private String email;
    private int typeEmail = UNKNOWN;

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public int getTypeEmail() {
        return typeEmail;
    }

    public void setTypeEmail(int typeEmail) {
        this.typeEmail = typeEmail;
    }

    public Email(String email, int typeEmail) {
        super();
        this.email = email;
        this.typeEmail = typeEmail;
    }

    public Email(String email) {
        super();
        this.email = email;
    }

    public Email() {
        super();
    }

}
